import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

// 导入Element UI
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import locale from 'element-ui/lib/locale/lang/zh-CN'

// 导入全局样式
import './styles/index.scss'

// 配置
Vue.config.productionTip = false

// 使用Element UI，配置为中文
Vue.use(ElementUI, { size: 'medium', locale })

// 创建Vue实例
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app') 